
<html><HEAD>
<LINK REL=STYLESHEET HREF="default.css" TYPE="text/css">
<TITLE>
Adding and deleting TreeView levels</TITLE>
</HEAD>
<BODY>

<!-- Header -->
<p class="ancestor" align="right"><A HREF="pbugp238.htm">Previous</A>&nbsp;&nbsp;<A HREF="pbugp240.htm" >Next</A>
<!-- End Header -->
<A NAME="BABDJJAA"></A><h1>Adding and deleting TreeView levels</h1>
<A NAME="TI8320"></A><p>You add and delete TreeView levels using the Rows menu in
the DataWindow painter.</p>
<A NAME="TI8321"></A><p><img src="images/proc.gif" width=17 height=17 border=0 align="bottom" alt="Steps"> To create an additional level in a TreeView DataWindow:</p>
<ol><li class=fi><p>Open the TreeView DataWindow if it is not
already open.</p></li>
<li class=ds><p>Select Rows&gt;Create TreeView Level from
the menu bar.</p><p>The Specify Group Columns dialog box displays.</p></li>
<li class=ds><p>Specify the columns you want to set as the next
TreeView level by dragging them from the Source Data pane to the
Columns pane.</p><p>In the sample DataWindow shown in <A HREF="pbugp237.htm#CEGEEEHH">"Example"</A>, the second level has a single
column, the <b>employee_city</b> column. </p><br><img src="images/crtreelv.gif"><br>
</li>
<li class=ds><p>Click OK.</p><p>The new TreeView level and a Trailer band for that level are
created in the TreeView Design view. For information on how to set
properties for a TreeView level, see <A HREF="pbugp243.htm#BABBBBGG">"Setting TreeView level properties"</A>.</p></li></ol>
<br><A NAME="TI8322"></A><p><img src="images/proc.gif" width=17 height=17 border=0 align="bottom" alt="Steps"> To delete a level in a TreeView DataWindow:</p>
<ol><li class=fi><p>Select Rows&gt;Delete TreeView Level from
the menu bar.</p><br><img src="images/rowsdel.gif"><br>
</li>
<li class=ds><p>Select the number of the level to delete from
the list of levels that displays.</p><p>The level in the TreeView DataWindow is deleted immediately.</p><p><img src="images/note.gif" width=17 height=17 border=0 align="bottom" alt="Note"> <span class=shaded>If you delete a level by mistake</span> <A NAME="TI8323"></A>If you unintentionally delete a level, close the TreeView DataWindow without
saving changes, then reopen it and continue working.</p>
</li></ol>
<br>
